<?php
$section = 'press';

$titre = _LB_PRESS_MANAGEMENT;
$smarty->assign("titre", $titre);

Session::setBackLink($section);

$press = new Press();
$query = "SELECT * FROM PRESS ORDER BY ID DESC";

$args = array();
$pager = new  DBPager($press,$args, false ,PAGING_DEFAULT_ITEM_PER_PAGE,$query);
$press->query($query);

$cfer = new Cfer(array(
	_LB_ACCUEIL => Utils::getHomeLink(),
	_LB_PRESS_MANAGEMENT => Utils::getCurrentLink()));

$smarty->assign('cfer', $cfer);
$smarty->assign('press', $press);
$smarty->assign('pager', $pager);
$smarty->display('press_list.html');